\documentclass[preview]{standalone}
\usepackage[english]{babel}
\usepackage{amsmath}
\usepackage{amssymb}
\begin{document}
\begin{align*}
T(n) = 2T(n-1) + 1 \\ T(1) = 1 \\ \Rightarrow T(n)=2^n-1
\end{align*}
\end{document}